The SetDialogParentWindow method sets the dialog parent window.
Sub SetDialogParentWindow (hWnd As Long)
hWnd
Specifies the handle of the parent window.